/********************************************************************************
 * Copyright (c) 2011-2017 Red Hat Inc. and/or its affiliates and others
 *
 * This program and the accompanying materials are made available under the
 * terms of the Eclipse Public License 1.0 which is available at
 * http://www.eclipse.org/legal/epl-v10.html.
 *
 * SPDX-License-Identifier: EPL-1.0
 ********************************************************************************/
package org.eclipse.ceylon.ide.eclipse.code.style;

public class CeylonFormatterConstants {

    public static final String FORMATTER_indentMode = "indentMode"; // Spaces(4)
    public static final String FORMATTER_indentMode_Spaces = "Spaces";
    public static final String FORMATTER_indentMode_Tabs = "Tabs";
    public static final String FORMATTER_indentMode_Mixed = "Mixed";

    public static final String FORMATTER_indentMode_Spaces_Size = "indentModeSpacesSize";
    public static final String FORMATTER_indentMode_Tabs_Size = "indentModeTabsSize";
    public static final String FORMATTER_indent_Blank_Lines = "indentBlankLines";
    public static final String FORMATTER_indent_Before_Type_Info = "indentBeforeTypeInfo";

    public static final String FORMATTER_space_BeforeMethodOrClassPositionalArgumentList = "spaceBeforeMethodOrClassPositionalArgumentList";
    public static final String FORMATTER_space_AroundSatisfiesOf = "spaceAroundSatisfiesOf";
    public static final String FORMATTER_space_AroundImportAliasEqualsSign = "spaceAroundImportAliasEqualsSign";
    public static final String FORMATTER_space_AfterTypeParamListComma = "spaceAfterTypeParamListComma";
    public static final String FORMATTER_space_AfterTypeArgListComma = "spaceAfterTypeArgListComma";
    public static final String FORMATTER_space_AroundTypeParamListEqualsSign = "spaceAroundTypeParamListEqualsSign";
    public static final String FORMATTER_space_BeforeSequenceEnumerationClosingBrace = "spaceBeforeSequenceEnumerationClosingBrace";
    public static final String FORMATTER_space_BeforeParamListOpeningParen = "spaceBeforeParamListOpeningParen";
    public static final String FORMATTER_space_BeforeParamListClosingParen = "spaceBeforeParamListClosingParen";
    public static final String FORMATTER_space_AfterParamListClosingParen = "spaceAfterParamListClosingParen";

    public static final String FORMATTER_space_BeforeValueIteratorClosingParenthesis = "spaceBeforeValueIteratorClosingParenthesis";
    public static final String FORMATTER_space_AfterSequenceEnumerationOpeningBrace = "spaceAfterSequenceEnumerationOpeningBrace";
    public static final String FORMATTER_space_BeforeAnnotationPositionalArgumentList = "spaceBeforeAnnotationPositionalArgumentList";
    public static final String FORMATTER_space_AfterValueIteratorOpeningParenthesis = "spaceAfterValueIteratorOpeningParenthesis";
    public static final String FORMATTER_space_AfterParamListOpeningParen = "spaceAfterParamListOpeningParen";
    public static final String FORMATTER_space_AfterControlStructureKeyword = "spaceAfterControlStructureKeyword";
    public static final String FORMATTER_space_OptionalAroundOperatorLevel = "spaceOptionalAroundOperatorLevel";

    public static final String FORMATTER_maxLineLength = "maxLineLength";
    public static final String FORMATTER_maxLineLength_Number = "maxLineLengthNumber";
    public static final String FORMATTER_lineBreak = "lineBreak";
    public static final String FORMATTER_lineBreakStrategy = "lineBreakStrategy";
    public static final String FORMATTER_lineBreaksAfterLineComment_First = "lineBreaksAfterLineCommentFirst";
    public static final String FORMATTER_lineBreaksAfterLineComment_Last = "lineBreaksAfterLineCommentLast";
    public static final String FORMATTER_lineBreaksAfterSingleComment_First = "lineBreaksAfterSingleCommentFirst";
    public static final String FORMATTER_lineBreaksAfterSingleComment_Last = "lineBreaksAfterSingleCommentLast";
    public static final String FORMATTER_lineBreaksBeforeMultiComment_First = "lineBreaksBeforeMultiCommentFirst";
    public static final String FORMATTER_lineBreaksBeforeMultiComment_Last = "lineBreaksBeforeMultiCommentLast";
    public static final String FORMATTER_lineBreaksAfterMultiComment_First = "lineBreaksAfterMultiCommentFirst";
    public static final String FORMATTER_lineBreaksAfterMultiComment_Last = "lineBreaksAfterMultiCommentLast";
    public static final String FORMATTER_lineBreaksBeforeSingleComment_First = "lineBreaksBeforeSingleCommentFirst";
    public static final String FORMATTER_lineBreaksBeforeSingleComment_Last = "lineBreaksBeforeSingleCommentLast";
    public static final String FORMATTER_lineBreaksInTypeParameterList_First = "lineBreaksInTypeParameterListFirst";
    public static final String FORMATTER_lineBreaksInTypeParameterList_Last = "lineBreaksInTypeParameterListLast";
    public static final String FORMATTER_lineBreaksBeforeLineComment_First = "lineBreaksBeforeLineCommentFirst";
    public static final String FORMATTER_lineBreaksBeforeLineComment_Last = "lineBreaksBeforeLineCommentLast";
    public static final String FORMATTER_lineBreaksBetweenImportElements_First = "lineBreaksBetweenImportElementsFirst";
    public static final String FORMATTER_lineBreaksBetweenImportElements_Last = "lineBreaksBetweenImportElementsLast";
    
    public static final String FORMATTER_elseOnOwnLine = "elseOnOwnLine";
    public static final String FORMATTER_failFast = "failFast";
    public static final String FORMATTER_braceOnOwnLine = "braceOnOwnLine";
    public static final String FORMATTER_inlineAnnotations = "inlineAnnotations";
    public static final String FORMATTER_inlineAnnotations_List = "inlineAnnotations_List";

    // required for preview setup
    public static final String FORMATTER_LINE_SPLIT = "lineSplit";
    public static final String FORMATTER_TAB_SIZE = "tabSize";
    
    public static final String DEFAULT_PROFILE_NAME = "default";
    public static final String UNNAMED_PROFILE_NAME = "unnamed";
    
    public static final int MINIMUM_SPECIFIED_LINE_LENGTH = 20;
    public static final int MAXIMUM_SPECIFIED_LINE_LENGTH = 1256;
    
    public static final int MINIMUM_SPACE_AFTER_SHIFT = -80;
    public static final int MAXIMUM_SPACE_AFTER_SHIFT = 80;
}
